/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exatrez.workflow;

public class Step {

    private int id;
    private int nextId;
    private int altId;
    private WorkflowStatus status;
    private String title;
    private String url;
    private boolean email;

    public Step() {
    }

    public Step(int id, int nextId, WorkflowStatus status, String title, String url, boolean email) {
        this.id = id;
        this.nextId = nextId;
        this.status = status;
        this.title = title;
        this.url = url;
        this.email = email;
    }

    public Step(int id, int nextId, WorkflowStatus status, String title, String url, boolean email, int altId) {
        this.id = id;
        this.nextId = nextId;
        this.altId = altId;
        this.status = status;
        this.title = title;
        this.url = url;
        this.email = email;
    }

    public boolean isEmail() {
        return email;
    }

    public void setEmail(boolean email) {
        this.email = email;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNextId() {
        return nextId;
    }

    public void setNextId(int nextId) {
        this.nextId = nextId;
    }

    public int getAltId() {
        return altId;
    }

    public void setAltId(int altId) {
        this.altId = altId;
    }

    public WorkflowStatus getStatus() {
        return status;
    }

    public void setStatus(WorkflowStatus status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    
}
